/*
 * @Author: 刘经标 2604132672@qq.com
 * @Date: 2025-04-15 09:43:45
 * @LastEditors: 刘经标 2604132672@qq.com
 * @LastEditTime: 2025-04-15 10:19:39
 * @FilePath: /ai-assistant-frontend/src/App.tsx
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import { CssBaseline, ThemeProvider } from '@mui/material';
import { BrowserRouter, Routes, Route } from 'react-router-dom';
import { theme } from './styles/theme';
import { HomePage } from './pages/HomePage';
import { ChatPage } from './pages/ChatPage';
import './styles/global.css';

function App() {
  return (
    <ThemeProvider theme={theme}>
      <CssBaseline />
      <BrowserRouter>
        <Routes>
          <Route path="/" element={<HomePage />} />
          <Route path="/chat" element={<ChatPage />} />
        </Routes>
      </BrowserRouter>
    </ThemeProvider>
  );
}

export default App;